<ion-view view-title="医生主页">
	<ion-content class="doctor_home contentTop_cls" overflow-scroll="true">
		<div class="head_top clearfix">
			<div class="left fl"><img ng-src="{{Doctor.urlPic}}"  /></div>
			<div class="middle infor fl">
				<h5>{{Doctor.doctorName}}</h5>
				<div>
					<span>{{Doctor.doctorTitle}}</span><span>{{Doctor.deptName}}</span>  
				</div>
				<div>
					<span class="title">医龄&nbsp;&nbsp;&nbsp;</span><span>30+</span><span class="fee">诊金&nbsp;&nbsp;&nbsp;¥{{Doctor.regScheduleInfos[0].treatFee/100}}</span><span>号源&nbsp;&nbsp;&nbsp;{{Doctor.regScheduleInfos[0].regTotalCount}}</span>
				</div>
			</div>
		</div>
		<div class="skill_box" ng-class="{'skill_beside':skillBol}">
			<img src="img/skillIcon.png" alt="" /><span>{{Doctor.betterFor}}</span>
			<div class="skill_handle" ng-click="skillFn()" ng-show="handleShow"><em>{{skillBol?'收起':'展开'}}</em><i class="dir" ng-class="{true:'dirUp',false:'dirDown'}[skillBol]"></i></div>
		</div>
		<div class="container">
			<div class="navHandle">
				<ul>
					<li ng-click="navClick(0)" ng-class="{'on':navIndex==0}"><span>预约挂号</span></li>
					<li ng-click="navClick(1)" ng-class="{'on':navIndex==1}"><span>当天挂号</span></li>
					<li ng-click="navClick(2)" ng-class="{'on':navIndex==2}"><span>服务评价</span></li>
				</ul>
			</div>
			<div class="navBox">
				<div class="box appointment" ng-show="navIndex==0">
					<div class="con clearfix">
						<div class="weekday fl">
							<ul>
								<li ng-repeat="item in Doctor.regScheduleInfos" 
                                 ng-class="{'on':weekIndex==$index}" ng-click="weekdayFn($index)"><span>{{item.regWeekDay}}</span><i>{{item.regDate}}</i></li>
							</ul>
						</div>
						<div class="timeline fl">
							<div class="title"><span>所有时间</span><span>请选择合适的时间预约</span></div>
							<ul>
								<li ui-sref="placeOrder({doctorParma:DoctorParma,treatFee:listTime.treatFee,type:2, regFee:listTime.regFee,regDate: listTime.regDate, scheduleType:item2.scheduleType,regTime:item2.beginTime+'-'+item2.endTime })" ng-repeat="item2 in listTime.listTime" ng-show="item2.regleaveCount>0">
									<span>{{item2.beginTime}} ~ {{item2.endTime}}</span>
									<span class="right">可预约<i><img src="img/go.png" alt="" /></i></span>
								</li>
							</ul>
					 
						</div>
					</div>
				</div>
				<div class="box today" ng-show="navIndex==1">
					<div class="con">
						<div class="title"><span>所有时间</span><span>今天是{{DateNow}}（{{WeekNow}}）</span></div>
						<ul ng-show="TodayTime.regDate==DateNow">
                            <li ui-sref="placeOrder({doctorParma:DoctorParma,treatFee:TodayTime.treatFee,type:1, regFee:TodayTime.regFee,regDate: TodayTime.regDate, scheduleType:item.scheduleType,regTime:item.beginTime+'-'+item.endTime })" ng-repeat="item in TodayTime.listTime">
                                <span>{{item.beginTime}} ~ {{item.endTime}}</span>
                                <span class="right">可预约<i><img src="img/go.png" alt="" /></i></span>
                            </li>
						</ul>
					</div>
					<div class="nomore">——&nbsp;&nbsp;没有更多 &nbsp;&nbsp;——</div>
				</div>
				<div class="box evaluate" ng-show="navIndex==2">
					<div class="con">
						<div class="consumer">
							<div class="title">王医生医术高明！！！</div>
							<div class="infor clearfix">
								<div class="left fl"><img src="img/face.png" alt="" /><span>匿名用户</span></div>
								<div class="middle fl">
									<div class="clearfix">
										<span class="fl"><img src="img/evaluateIcon.png" alt="" />非常满意</span>
										<span class="fr">2017-03-24  15:40</span>
									</div>
									<p>本人因为一些妇科疾病问题去看王医生，看诊是认真有耐心，对病人很有礼貌，看病后身体有所好转，药到病除，复诊时还会再来看。</p>
								</div>
							</div>
						</div>
						<div class="consumer">
							<div class="title">无标题</div>
							<div class="infor clearfix">
								<div class="left fl"><img src="img/face.png" alt="" /><span>匿名用户</span></div>
								<div class="middle fl">
									<div class="clearfix">
										<span class="fl"><img src="img/evaluateIcon.png" alt="" />非常满意</span>
										<span class="fr">2017-03-24  15:40</span>
									</div>
									<p>本人因为一些妇科疾病问题去看王医生，看诊是认真有耐心，对病人很有礼貌，看病后身体有所好转，药到病除，复诊时还会再来看。</p>
								</div>
							</div>
						</div>
					</div>
					<div class="nomore">——&nbsp;&nbsp;没有更多 &nbsp;&nbsp;——</div>
				</div>
			</div>
		</div>
	</ion-content>
</ion-view>